package com.sino.operation.mapper;

import com.sino.operation.entity.SysTeller;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 中心柜员表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-10-07
 */
public interface SysTellerMapper extends BaseMapper<SysTeller> {
    @Select("select * from SYS_TELLER where TELLER_CODE=#{tellerCode}")
    SysTeller selectTellerByTellerCode(@Param("tellerCode") String tellerCode);

    public List<String> getTransTypeByTellerCode(@Param("tellerCode") String tellerCode);
}
